{% extends 'oratk_app/master.html' %}
{#{% block tag_left %}#}
{#    {% include 'oratk_app/tag_left_user.html' %}#}
{#{% endblock %}#}
{% block title %}
    <title>{{ select_name }}</title>
{% endblock %}
{% block tag_left %}
    <h3>&nbsp数据库信息</h3>
    <h4>{{ dbname }}</h4>
    <h4>&nbsp{{ conn_string }}</h4>
    <h3>&nbsp查询项</h3>
    <h4>&nbsp{{ select_name }} </h4>
    <h3>&nbsp查询结果为： </h3>
{% endblock %}
{% block userinfo %}
    <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<table class="table table-striped table-bordered table-hover column">
  <span style="color:red;">{{ desc0 }}</span>
    <thead>
    <tr>
        {% for col_name in columns0 %}
            <th>{{ col_name }}</th>
        {% endfor %}
    </tr>
    </thead>
    <tbody>
    {% for i in result0 %}
        <tr>
            {% for col_value in i %}
                {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                <td>
                    <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                </td>


            {% endfor %}
        </tr>
    {% endfor %}
    </tbody>
</table>
<table class="table table-striped table-bordered table-hover column">
<span style="color:red;">{{ desc1 }}</span>
    <thead>
    <tr>
        {% for col_name in columns1 %}
            <th>{{ col_name }}</th>
        {% endfor %}
    </tr>
    </thead>
    <tbody>
    {% for i in result1 %}
        <tr>
            {% for col_value in i %}
                {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                <td>
                    <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                </td>
            {% endfor %}
        </tr>
    {% endfor %}
    </tbody>
</table>
<table class="table table-striped table-bordered table-hover column">
<span style="color:red;">{{ desc2 }}</span>
    <thead>
    <tr>
        {% for col_name in columns2 %}
            <th>{{ col_name }}</th>
        {% endfor %}
    </tr>
    </thead>
    <tbody>
    {% for i in result2 %}
        <tr>
            {% for col_value in i %}
                {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                <td>
                    <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                </td>


            {% endfor %}
        </tr>
    {% endfor %}
    </tbody>
</table>
<table class="table table-striped table-bordered table-hover column">
<span style="color:red;" >{{ desc3 }}</span>
    <thead>
    <tr>
        {% for col_name in columns3 %}
            <th>{{ col_name }}</th>
        {% endfor %}
    </tr>
    </thead>
    <tbody>
    {% for i in result3 %}
        <tr>
            {% for col_value in i %}
                {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                <td>
                    <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                </td>
            {% endfor %}
        </tr>
    {% endfor %}
    </tbody>
</table>
<table class="table table-striped table-bordered table-hover column">
<span style="color:red;">{{ desc4 }}</span>
    <thead>
    <tr>
        {% for col_name in columns4 %}
            <th>{{ col_name }}</th>
        {% endfor %}
    </tr>
    </thead>
    <tbody>
    {% for i in result4 %}
        <tr>
            {% for col_value in i %}
                {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                <td>
                    <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                </td>
            {% endfor %}
        </tr>
    {% endfor %}
    </tbody>
</table>
<table class="table table-striped table-bordered table-hover column">
<span style="color:red;">{{ desc5 }}</span>
    <thead>
    <tr>
        {% for col_name in columns5 %}
            <th>{{ col_name }}</th>
        {% endfor %}
    </tr>
    </thead>
    <tbody>
    {% for i in result5 %}
        <tr>
            {% for col_value in i %}
                {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                <td>
                    <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                </td>
            {% endfor %}
        </tr>
    {% endfor %}
    </tbody>
</table>
<table class="table table-striped table-bordered table-hover column">
<span style="color:red;">{{ desc6 }}</span>
    <thead>
    <tr>
        {% for col_name in columns6 %}
            <th>{{ col_name }}</th>
        {% endfor %}
    </tr>
    </thead>
    <tbody>
    {% for i in result6 %}
        <tr>
            {% for col_value in i %}
                {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                <td>
                    <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                </td>
            {% endfor %}
        </tr>
    {% endfor %}
    </tbody>
</table>
<table class="table table-striped table-bordered table-hover column">
<span style="color:red;">{{ desc7 }}</span>
    <thead>
    <tr>
        {% for col_name in columns7 %}
            <th>{{ col_name }}</th>
        {% endfor %}
    </tr>
    </thead>
    <tbody>
    {% for i in result7 %}
        <tr>
            {% for col_value in i %}
                {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                <td>
                    <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                </td>
            {% endfor %}
        </tr>
    {% endfor %}
    </tbody>
</table>
<table class="table table-striped table-bordered table-hover column">
<span style="color:red;">{{ desc8 }}</span>
    <thead>
    <tr>
        {% for col_name in columns8 %}
            <th>{{ col_name }}</th>
        {% endfor %}
    </tr>
    </thead>
    <tbody>
    {% for i in result8 %}
        <tr>
            {% for col_value in i %}
                {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                <td>
                    <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                </td>
            {% endfor %}
        </tr>
    {% endfor %}
    </tbody>
</table>
<table class="table table-striped table-bordered table-hover column">
<span style="color:red;">{{ desc9 }}</span>
    <thead>
    <tr>
        {% for col_name in columns9 %}
            <th>{{ col_name }}</th>
        {% endfor %}
    </tr>
    </thead>
    <tbody>
    {% for i in result9 %}
        <tr>
            {% for col_value in i %}
                {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                <td>
                    <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                </td>
            {% endfor %}
        </tr>
    {% endfor %}
    </tbody>
</table>
    </div>
{% endblock %}

